package components
{
	import UIFree.uif_component;
	
	import components.dialogs.collages.clt_collageItem;
	
	import flash.geom.Rectangle;
	
	public class clt_collagesBox extends clt_box {
		public function clt_collagesBox(parent:uif_component, a_dataModule:Object, ax:int=0, ay:int=0, awidth:int=0, aheight:int=0, atabwidth:int=0, styleClass:String='', countInfo:Boolean=true) {
			super(parent, a_dataModule, ax, ay, awidth, aheight, atabwidth, styleClass, countInfo);
		}
		
		override protected function get rows():int {
			return 1;
		}
		
		override protected function createListItem(_scroll: uif_component, inner: Rectangle, index: int): clt_previewItem {
			return new clt_collageItem(index, _scroll, inner.x, inner.y, inner.width, 
					inner.height, _filterList[index], 'userPhoto', clt_servers.GAMEPREVIEW_URL);
		}
	}
}